multiple questions in compiler design